import {InMemoryDbService} from "angular-in-memory-web-api";
export class EmployeeDb implements InMemoryDbService {
  createDb(): {} {
    let employees = [
    {id: 11, username: 'Mr. Nice',password:'123',privilege:'USER'},
    {id: 12, username: 'Narco',password:'123',privilege:'USER'},
    {id: 13, username: 'Bombasto',password:'123',privilege:'USER'},
    {id: 14, username: 'Celeritas',password:'123',privilege:'USER'},
    {id: 15, username: 'Magneta',password:'123',privilege:'USER'},
    {id: 16, username: 'RubberMan',password:'123',privilege:'ADMIN'},
    {id: 17, username: 'Dynama',password:'123',privilege:'ADMIN'},
    {id: 18, username: 'Dr IQ',password:'123',privilege:'ADMIN'},
    {id: 19, username: 'Magma',password:'123',privilege:'ADMIN'},
    {id: 20, username: 'Tornado',password:'123',privilege:'ADMIN'}];
    return {employees};
  }

}
